export interface customType {
    H: {
        right: number;
        top: number;
        height: number;
        width?: number;
        left?: number;
    },
    B:number,
    statusH:number,
    capsuleH:number
}


export interface Result {
    message?: string;
    data?: any;
    code?: number | string;
    [k: string]: unknown;
}

export interface ResultError {
    status?: number | string;
    message?: string;
    code?: number | string | unknown;
    data?: {
        message?: string;
        code?: number | string | unknown;
        status?: number | string;
    };
    [k: string]: unknown;
}

export interface listPageType {
    page:number;
    last?:number;
    loadmore?:boolean;
    pullUpOn?:boolean;
    [k:string]:unknown
}

export interface pageType {
    page:number;
}

export type MethodType = "OPTIONS" | "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "TRACE" | "CONNECT" | undefined
